package com.project.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.project.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("consultation")
public class Consultation extends BaseEntity {
    private Long userId;
    private Long doctorId;
    private LocalDateTime appointmentTime;
    private Integer duration; // 咨询时长（分钟）
    private String description; // 咨询描述
    private String diagnosis; // 医生诊断
    private String prescription; // 医生建议
    private Integer status; // 0-待确认 1-已确认 2-已完成 3-已取消
} 